package com.yidu.best.bond.bondTrading.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.best.bond.bondTrading.domain.BondTrade;
import com.yidu.best.bond.bondTrading.domain.BondTradeVo;

public interface BondTradeDao {
	public List<BondTrade> findPageQuery(BondTradeVo bondTradeVo);
	
	public int countBondTrade(BondTradeVo bondTradeVo);
	
	public int BondClearing(@Param("tradeStatus")Integer tradeStatus,@Param("bondTradeId")String bondTradeId);
	
	public BondTrade findBondClearingById(String bondTradeId);
	
	public int insertBondTrade(List<BondTrade> bondTrade);
	
	public BondTrade findBondTradeByFundIdandbondId(@Param("fundId")String fundId,@Param("bondId")String bondId);
	
}
